package com.jnshu.dao;

import com.jnshu.dto.user.UserList;
import com.jnshu.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {


    //查找积分
    Integer selectIntegral(Long id);

    //更新积分
    boolean updateIntegral(@Param("id") Long id, @Param("integral")Integer integral);

}